package com.example.mybatisx.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @TableName sys_user
 */
@TableName(value ="sys_user")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysUser implements Serializable {
    private Long id;

    private String userName;

    private Integer age;

    private static final long serialVersionUID = 1L;

    public SysUser(String userName, Integer age) {
        this.userName = userName;
        this.age = age;
    }
}